﻿using System;

namespace Google.Analytics.Model.Queries
{
    public class TextAttributeBase : Attribute
    {
        /// <summary>
        /// Gets the text value of the attribute
        /// </summary>
        public string Text { get; private set; }

        /// <summary>
        /// Creates a new <see cref="Attribute"/> object
        /// </summary>
        /// <param name="text"></param>
        public TextAttributeBase(string text)
        {
            Text = text;
        }
    }
}
